<!--
 * @Author: 四川华西绿舍建材有限公司
 * @Date: 2024-02-08 11:26:58
 * @LastEditors: 陈波
 * @LastEditTime: 2024-02-08 11:35:02
 * @Description: 
 * @FilePath: \graDesign\src\views\User\Register\fileAvatar.vue
-->
<template>
    <BasicDialog
        :visible="fileDialogVisible"
        width="35%"
        :showClose="true"
        @handleClose="close"
        :hasHeadDivider="true"
    >
    <!-- <template #footer>
      <span slot="footer" class="dialog-footer">
        <el-button @click="close">取 消</el-button>
        <el-button type="success" @click="saveSecurity(sRuleFormRef)">确 定</el-button>
      </span>
    </template> -->
  </BasicDialog>
</template>

<script setup lang="ts">
import { defineProps, withDefaults } from "vue";
interface FileProp {
    fileDialogVisible: boolean;
}
withDefaults(defineProps<FileProp>(), {
    fileDialogVisible: false,
});

/**
 * defineEmits emit给父组件
 */
interface EmitEvent {
  (e: "close"): void;
}
const emit = defineEmits<EmitEvent>();
const close = () => {
  emit("close");
};

</script>

<style scoped lang="scss">

</style>